how to build a matplotlib dashboard